From: Chad Horohoe Date: Wed, 29 Jun 2011 18:44:21 +0000 (+0000) Subject: Followup r91094: monobook wasn't broken, but I broke it. Rename to content here too... X-Git-Tag: 1.31.0-rc.0~29188 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=571916b64dea5419296b2052ab92737d7d5ebf25;p=lhc%2Fweb%2Fwiklou.git Followup r91094: monobook wasn't broken, but I broke it. Rename to content here too so I don't get confused --- diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 31ad190d2b..b4c41feeb4 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -179,7 +179,7 @@ echo $footerEnd; if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; - foreach ($sidebar as $boxName => $cont) { + foreach( $sidebar as $boxName => $content ) { if ( $content === false ) continue; @@ -190,7 +190,7 @@ echo $footerEnd; } elseif ( $boxName == 'LANGUAGES' ) { $this->languageBox(); } else { - $this->customBox( $boxName, $cont ); + $this->customBox( $boxName, $content ); } } }